<?php
/**
 * 用户登录页
 */
?>
<!doctype html>
<html lang="">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>用户登录</title>
</head>
<body>
        <div style="width: 500px;margin: auto">
            <h1>用户登录</h1>
            <hr>
            <form action="Login2.php" method="post" enctype="multipart/form-data">
                <table style="margin: auto">
                    <tr>
                        <td>用户名</td><td><input type="text" name="username"></td>
                    </tr>
                    <tr>
                        <td></td><td style="color: darkred">用户名不能为空</td>
                    </tr>
                    <tr>
                        <td>密码</td><td><input type="password" name="password"></td>
                    </tr>
                    <tr>
                        <td></td><td style="color: darkred">密码不能为空</td>
                    </tr>
                    <tr>
                        <td></td><td><input type="submit" value="登录"></td>
                    </tr>
                </table>
            </form>
            <hr>
        </div>
</body>
</html>
